package com.suneee.store.dao;

import com.suneee.context.page.Page;
import com.suneee.orm.Dao;
import com.suneee.store.bean.StockRecordDTO;
import com.suneee.store.entity.StockRecord;

public interface StockRecordDao extends Dao<StockRecord, String> {
	
	/**
	 * 获得当前日出库或入库单数量
	 * @param str 单号识别字符串
	 * @return
	 */
	public int getDateTotal(String str);
	
	/**
	 * 出入库单查询
	 * @param dto
	 * @return
	 */
	public Page<StockRecord> listView(StockRecordDTO dto);

}
